package cn.com.ejiakanghu.dto;

/**
 * @author houzb
 * @Description
 * @create 2021-04-15 14:21
 */
public class LoginInfo {
    /**
     * 微信小程序
     */
    public static String CTYPE_WEIXIN = "WEIXIN";
    /**
     * 支付宝小程序
     */
    public static String CTYPE_ALI = "ALIPAY";
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 手机号注册登录验证码
     */
    private String captcha;
    /**
     * 客户端类型
     */
    private String type;
    /**
     * 对应小程序平台授权登录得到的code
     */
    private String code;
    /**
     * 对应小程序平台用户昵称
     */
    private String nickname;
    /**
     * 对应小程序平台用户头像图片url
     */
    private String avatar;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
